projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
49b1c2f
)
Tweak previous em-hist.el change.
author
Glenn Morris
<rgm@gnu.org>
Thu, 1 Dec 2011 22:30:12 +0000
(17:30 -0500)
committer
Glenn Morris
<rgm@gnu.org>
Thu, 1 Dec 2011 22:30:12 +0000
(17:30 -0500)
lisp/eshell/em-hist.el
patch
|
blob
|
history
diff --git
a/lisp/eshell/em-hist.el
b/lisp/eshell/em-hist.el
index 975f1b171438415e2f16a10300cb92f6c8dda086..5ae419f7ba93c295c7c4c70d6a0ec32efb1c919d 100644
(file)
--- a/
lisp/eshell/em-hist.el
+++ b/
lisp/eshell/em-hist.el
@@
-263,8
+263,9
@@
element, regardless of any text on the command line. In that case,
(or eshell-history-size
(let ((hsize (getenv "HISTSIZE")))
(setq eshell-history-size
- (if (and (> (length hsize) 0)
- (integerp (setq hsize (string-to-number hsize))))
+ (if (and (stringp hsize)
+ (integerp (setq hsize (string-to-number hsize)))
+ (> hsize 0))
hsize
128))))